package com.jyhz.model.service;

import com.jyhz.model.pojo.Person;

import java.util.List;

/**
 * @author:谢君臣
 * @Date:2021/6/27-19:38
 * @version:1.0
 * @function:
 */
public interface PersonService {
    Person getOneById(Long id);
    Person getOneByAccount(String account);
    Person getOneByMobile(String mobile);
    Person getOneByUsername(String username);
    Person getOneByUsernameAndPassword(String username,String password);
    List<Person> getPersons();
    List<Person> getPersonsByUsername(String username);
}
